﻿//============================================================
//write by bxl at 2021-06-03 14:42:29
//============================================================

using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.TransferStation
{
    /// <summary>
    /// 仓库中转站 数据模型
    /// </summary>
    public class TransferStationRequestDto
    {
        /// <summary>
        /// 中转站名字
        /// </summary>            
        [Display(Name = "中转站名字")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string TransferStationName { get; set; }


        /// <summary>
        /// 经度
        /// </summary>            
        [Display(Name = "经度")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public double Lng { get; set; }

        /// <summary>
        /// 维度
        /// </summary>            
        [Display(Name = "维度")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public double Lat { get; set; }

        /// <summary>
        /// 省/州Id
        /// </summary>            
        [Display(Name = "省/州Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public long ProvinceId { get; set; }

        /// <summary>
        /// 省/州名称
        /// </summary>            
        [Display(Name = "省/州名称")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string ProvinceName { get; set; }

        /// <summary>
        /// 市Id
        /// </summary>            
        [Display(Name = "市Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public long CityId { get; set; }

        /// <summary>
        /// 市名称
        /// </summary>            
        [Display(Name = "市名称")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CityName { get; set; }

        /// <summary>
        /// 县Id
        /// </summary>            
        [Display(Name = "县Id")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public long CountyId { get; set; }

        /// <summary>
        /// 县名称
        /// </summary>            
        [Display(Name = "县名称")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string CountyName { get; set; }

        /// <summary>
        /// 中转站地址
        /// </summary>            
        [Display(Name = "中转站地址")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string Address { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>            
        [Display(Name = "公司Id")] 
        public long? CompanyId { get; set; }

        /// <summary>
        /// 公司名称 
        /// </summary>            
        [Display(Name = "公司名称 ")] 
        public string CompanyName { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>            
        [Display(Name = "是否启用")] 
        public bool IsEnable { get; set; }

        /// <summary>
        /// 备注
        /// </summary>            
        [Display(Name = "备注")] 
        public string Remark { get; set; }


    }
}
